package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Report;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @author wjs
 * @version 1.0
 * @date 2022/1/9 0009 上午 10:10
 */
public interface ReportApi {
    Report save(Report report);

    Report findById(String id);

    List<Report> findByLevel(Integer level);

    ObjectId findIdByUserId(Long userId, Integer star);
}
